package org.blogspot.t0yv0.marcalog.model

class ISBN(code: String) {

  code match {
    case null => assert(false, "ISBN: cannot be null.");
    case ""   => assert(false, "ISBN: cannot be empty.");
    case _    => {}
  }

  override def toString = code;
  override def hashCode = code.hashCode;

}
